package com.ctyon.watchsdk;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.ctyon.watchsdk.config.Option;
import com.ctyon.watchsdk.task.WatchTask;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Option option = new Option();
        option.setPingInterval(10);
        option.setReConnectInterval(5);
        option.setMeid("10000");
        WatchTask.getInstance().init(option);
    }
}
